Release 10.1A: OpenEdge Development:
Programming Interfaces
Changing resource definitions
The
GET–KEY–VALUEstatement can read and thePUT–KEY–VALUEstatement can change the definition of any environment resource, including the definitions of colors and fonts stored in the current environment. However, these statements by themselves do not affect the current OpenEdge environment and its color and font tables. To have any definitions that are created using thePUT–KEY–VALUEstatement take effect, you must replace the current environment by reloading the current environment (see the "Managing application environments" section).Portable color and font definitions
The portable and most effective way to change color and font definitions is to first change the definitions in the color and font tables, then use the
PUT–KEY–VALUEstatement to write the new definitions from the modified tables. You can affect the color and font tables in the current environment using theCOLOR–TABLEandFONT–TABLEhandles (see the "Accessing the current color and font tables" section), and you can allow the user to affect the current color and font tables using theSYSTEM–DIALOG COLORandSYSTEM–DIALOG FONTstatements (see the "Allowing the user to change colors and fonts" section).
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |